package com.bobo.service.tag;

import com.bobo.dao.IBaseDao;
import com.bobo.dto.Page;
import com.bobo.model.Tag;

import java.util.List;

/**
 * Created by bobo on 2016/10/17.
 */
public interface ITagService {
    public Integer create(Tag tag);

    public boolean delete(Integer id);

    public boolean update(Tag tag);

    public Tag getById(Integer id);

    public List<Tag> getTags(Integer categoryId,Integer status);

    public List<Tag> getTags( Integer status);

    public List<Tag> getTags(Integer current, Integer pageSize, Integer status);

}
